package com.liujit.bms.admin.domain.params;

import com.liujit.common.domain.params.BaseParams;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Description 博客标签请求参数
 * @Author liujun
 * @Date 2021-07-03 14:37:26
 */
@Data
@ApiModel(value = "BlogLabelParams", description = "博客标签请求参数")
public class BlogLabelParams extends BaseParams {

    @ApiModelProperty(value = "名称")
    @Length(max = 20, message = "名称最大长度20")
    private String name;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;
}